projects
/
cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb73974
)
Fix `cargo-uninstall`.
author
Carlos Galdino
<carloshsgaldino@gmail.com>
Thu, 19 Nov 2015 16:47:33 +0000
(14:47 -0200)
committer
Carlos Galdino
<carloshsgaldino@gmail.com>
Thu, 19 Nov 2015 17:47:12 +0000
(15:47 -0200)
With this patch users can type `cargo help uninstall` or `cargo
uninstall -h` and it will display the `USAGE` message as it was supposed
to.
Before the patch the command would display an error message about
invalid arguments.
Fixes #2138.
src/bin/uninstall.rs
patch
|
blob
|
history
diff --git
a/src/bin/uninstall.rs
b/src/bin/uninstall.rs
index 20d4b5799141683d0b8de9842c0cfd09ea082ec1..e78bf605f38fb997aee728439fe7ae9063cf7dc6 100644
(file)
--- a/
src/bin/uninstall.rs
+++ b/
src/bin/uninstall.rs
@@
-17,6
+17,7
@@
Remove a Rust binary
Usage:
cargo uninstall [options] <spec>
+ cargo uninstall (-h | --help)
Options:
-h, --help Print this message